import { defineStore } from 'pinia'
import { ref } from 'vue'

// 用户
export const useUserStore = defineStore(
  'userStore',
  () => {
    // 存储咨询列表
    const newList = ref<any[]>([])
    const setNewsList = (obj: any) => {
      newList.value = obj
    }
    return {
      newList,
      setNewsList
    }
  }
)
